package com.ht.temp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mayke_zhou
 * @since 2018-12-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OffLineTemperature implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "tem_id", type = IdType.AUTO)
    private Integer temId;

    /**
     * 实时数据->设备地址:
     */
    private Integer deviceId;

    /**
     * 节点
     */
    private Integer nodeId;

    /**
     * 温度
     */
    private Double tem;

    /**
     * 湿度
     */
    private Double hum;

    /**
     * 坐标类型
     */
    private Integer coordinateType;

    /**
     * 继电器状态
     */
    private String relayStatus;

    /**
     * 记录时间
     */
    private LocalDateTime tempTime;


}
